#include "WebView.h"
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
#elif CC_TARGET_PLATFORM == CC_PLATFORM_IOS
#elif CC_TARGET_PLATFORM == CC_PLATFORM_WIN32
#include "WebViewImpl-win.h"
#endif
NS_CC_BEGIN
WebView::WebView()
{
	_impl = new WebViewImpl(this);
}
WebView::~WebView()
{

}

void WebView::draw(Renderer *renderer, const Mat4& transform, uint32_t flags)
{
	Node::draw(renderer, transform, flags);
	_impl->draw(renderer, transform, flags);
}
void WebView::_didFinishLoading(const std::string& url)
{

}
void WebView::_didFailLoading(const std::string& url)
{

}
std::string WebView::_onJsCallback(const std::string& cmd, const std::string& data)
{
	std::string ret;
	return ret;
}
NS_CC_END